failure 37:
Requirement failed: {log1pf.10.01.01} Function executed successfully with EOK error code, while `compare_Unifloat(x, changeSign_Unifloat(createOne_Unifloat(x->type), -1)) == -1 == true` means that EDOM SHALL be set
location |
trace |
/var/opt/lsb/test/olver-core/2013-01-21_10-20-40/math_exp_scenario.utz (math_exp_scenario.utt), line 45330 |
occurence |
scenario |
math_exp_scenario |
specification function |
log1p_spec() |
parameter value |
CallContext context = [pid=14267,thr=b755b6c0] |
parameter value |
Unifloat * @x = (float) -1.2761233329772949e+01 (-0x.CC2E0300P4F) |
parameter value |
Unifloat * x = (float) -1.2761233329772949e+01 (-0x.CC2E0300P4F) |
parameter value |
Unifloat * @standart = <NULL> |
parameter value |
Unifloat * standart = <NULL> |
parameter value |
IntT rounding = 0 |
parameter value |
IntT * @dist = <NULL> |
parameter value |
IntT * dist = <NULL> |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(Unifloat *) (float) NaN |
coverage & branch |
C x less than neg One |
properties |
REQ failed |
log1pf.10.01.01 |
expected value |
(float) NaN |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The log1p(x) family of functions shall compute log(1.0 + x).
According to LSB, the functions shall fail if argument is less than -1
and set error code to EDOM.
But on the target machine the functions set error code EOK instead of EDOM if
the argument is less than -1.
|
|